package com.tudouji.project.pay.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tudouji.project.pay.mapper.PayorderlistMapper;
import com.tudouji.project.pay.domain.Payorderlist;
import com.tudouji.project.pay.service.IPayorderlistService;

/**
 * 支付明细Service业务层处理
 * 
 * @author tudouji
 * @date 2021-04-09
 */
@Service
public class PayorderlistServiceImpl implements IPayorderlistService 
{
    @Autowired
    private PayorderlistMapper payorderlistMapper;

    /**
     * 查询支付明细
     * 
     * @param guid 支付明细ID
     * @return 支付明细
     */
    @Override
    public Payorderlist selectPayorderlistById(String guid)
    {
        return payorderlistMapper.selectPayorderlistById(guid);
    }

    /**
     * 查询支付明细列表
     * 
     * @param payorderlist 支付明细
     * @return 支付明细
     */
    @Override
    public List<Payorderlist> selectPayorderlistList(Payorderlist payorderlist)
    {
        return payorderlistMapper.selectPayorderlistList(payorderlist);
    }

    /**
     * 新增支付明细
     * 
     * @param payorderlist 支付明细
     * @return 结果
     */
    @Override
    public int insertPayorderlist(Payorderlist payorderlist)
    {
        return payorderlistMapper.insertPayorderlist(payorderlist);
    }

    /**
     * 修改支付明细
     * 
     * @param payorderlist 支付明细
     * @return 结果
     */
    @Override
    public int updatePayorderlist(Payorderlist payorderlist)
    {
        return payorderlistMapper.updatePayorderlist(payorderlist);
    }

    /**
     * 批量删除支付明细
     * 
     * @param guids 需要删除的支付明细ID
     * @return 结果
     */
    @Override
    public int deletePayorderlistByIds(String[] guids)
    {
        return payorderlistMapper.deletePayorderlistByIds(guids);
    }

    /**
     * 删除支付明细信息
     * 
     * @param guid 支付明细ID
     * @return 结果
     */
    @Override
    public int deletePayorderlistById(String guid)
    {
        return payorderlistMapper.deletePayorderlistById(guid);
    }
}
